//
//  UrlRequestManager.h
//  ImitateZH
//
//  Created by lanou3g on 16/3/3.
//  Copyright © 2016年 Highyoung. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger,requestUrlType) {
    GET,
    POST
};
typedef void (^successBlock) (id item);
typedef void (^failBlock)(NSError * error);

//#import "singleton.h"
@interface UrlRequestManager : NSObject
//
//single_interface(UrlRequestManager)


/// 请求方法
+(void)requestWith:(requestUrlType)Type URL:(NSString *)url condition:(NSDictionary *)condition SuccessBlock:(successBlock)successBlock failBlock:(failBlock)failBlock;


@end
